Enable dashboards as part of workspace export-dir command - #6332
Merged
janniklasrose merged 6 commits intoAug 25, 2026
Conversation
Collaborator
Integration test reportCommit: 82de8eb
Top 3 slowest tests (at least 2 minutes):
|
The test diffed the exported dashboard against the exact input JSON, but the Lakeview backend normalizes the serialized dashboard on create (e.g. it drops an empty "layout": []). The local testserver echoes the input verbatim, so the test passed locally but failed on every real workspace. Assert the dashboard file was exported instead of diffing its content. This is what the change under test actually verifies (dashboards are no longer skipped by export-dir). Dropping the diff also removes the diff.py call that MSYS_NO_PATHCONV broke on Windows. Gate the test off Windows: export-dir prints the local destination with OS-native separators, which is incidental to the OS-independent export behavior being tested. Co-authored-by: Isaac
…ce-export-dir-with-dashboards
pietern
approved these changes
Aug 25, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Aug 25, 2026
…ce-export-dir-with-dashboards
#6359 removed the RequiresWarehouse/RequiresCluster/RequiresUnityCatalog acceptance settings (all cloud envs set the corresponding TEST_* env vars, so they never skipped anything). This branch merged main before that landed, so its CI passed while the merge queue — testing against newer main — failed with "Undecoded key ... RequiresWarehouse". Remove the setting; the cloud run still requires a warehouse via TEST_DEFAULT_WAREHOUSE_ID, which every cloud environment provides. Co-authored-by: Isaac
janniklasrose
enabled auto-merge
August 25, 2026 12:52
janniklasrose
deleted the
janniklasrose/workspace-export-dir-with-dashboards
branch
August 25, 2026 13:32
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Enable dashboards as part of the
workspace export-dircommandWhy
The export API actually supports dashboards, but was previously marked as unsupported.
Tests
Tested locally.
Also added a cloud acceptance test.